﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Tecnosop.WebUI.Models
{
    public class LogOnViewModel
    {
        [Required(ErrorMessage = "Debe ingresar un {0}")]
        [DisplayName("Nombre de usuario")]
        public string NombreUsuario { get; set; }

        [Required(ErrorMessage = "Debe ingresar una {0}")]
        [DataType(DataType.Password)]
        [DisplayName("Contraseña")]
        public string Password { get; set; }
    }
}